﻿using UnityEngine;
using System.Collections;
using System;

public class SplashScreen : MonoBehaviour {

    private DateTime splashDateTime = DateTime.Now;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {

        if (splashDateTime.AddSeconds(2) < DateTime.Now)
        {
            Application.LoadLevel("menu");
        }

	}

    void OnGUI()
    {
        GUILayout.Label("This is my splash screen; there are many like it but this one is mine");
    }
}
